//
//  BeePhotoImageView.h
//  FbeeAPP
//
//  Created by dev-m on 2018/3/1.
//  Copyright © 2018年 mohao. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, PhotoStyle) {
    BeePhotoDefaultStyle,
    BeePhotoCellStyle
};

@interface BeePhotoImageView : UIImageView
{
    UILabel *cl;
}

-(instancetype)initWithFrame:(CGRect)frame photoStyle:(PhotoStyle)style;
//有URL时
-(instancetype)initWithFrame:(CGRect)frame imgUrl:(NSString *)url photoStyle:(PhotoStyle)style;
//根据首字母生成
-(instancetype)initWithFrame:(CGRect)frame imgByTitle:(NSString *)title photoStyle:(PhotoStyle)style;

-(void)setTitle:(NSString *)title;
-(void)setUrl:(NSString *)url;

@end
